﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace CoreCms.Net.Model.ViewModels.DTO
{
    public class CommissinDto
    {
        /// <summary>
        /// 佣金Id 
        ///</summary>
        public int Id { get; set; }
        /// <summary>
        /// 订单Id 
        ///</summary>
        public int Order_Id { get; set; }
        
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProName { get; set; }
        /// <summary>
        /// 订单审批时间
        /// </summary>
        public DateTime ProcessTime { get; set; }
        /// <summary>
        /// 用户Id 
        ///</summary>
        public int User_Id { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 分佣比例  可用默认 可编辑
        ///</summary>
        public double Rate { get; set; }

        /// <summary>
        /// 佣金 
        ///</summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 结佣时间 
        ///</summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 备注
        ///</summary>
        public string Remark { get; set; }
        /// <summary>
        /// 佣金状态 0 已结佣 1 冻结或其他
        ///</summary>
        public int State { get; set; }

        /// <summary>
        /// 删除状态 0 未删除 1 已删除 
        ///</summary>
        [SugarColumn(ColumnName = "delete")]
        public int Delete { get; set; }
    }
}
